package com.qqtech.qquan.order.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class OrderCoupon extends BaseDomain{

	//columns START
	 /** 状态*/
	private java.lang.Integer status;
	
    /** 订单号 */
	private java.lang.String orderNo;

	/** 用户id */
	private java.lang.Integer userId;


	/** 优惠多少钱:负数 */
	private BigDecimal minusPrice;
    /** 优惠卷描述 */
	private java.lang.String remark;
    /** 使用于供应商类型:1-外部供应商;2-本地供应商;3其他; */
	private java.lang.Integer type;
    //columns END
	public OrderCoupon(){
	}
    public OrderCoupon( java.lang.Integer id ){
		this.id = id;
	}
	public BigDecimal getMinusPrice() {
		return this.minusPrice;
	}

	public java.lang.String getOrderNo() {
		return this.orderNo;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}

	public java.lang.Integer getStatus() {
		return status;
	}
	
	public java.lang.Integer getType() {
		return this.type;
	}

	public java.lang.Integer getUserId() {
		return this.userId;
	}
	
	public void setMinusPrice(BigDecimal minusPrice) {
		this.minusPrice = minusPrice;
	}

	public void setOrderNo(java.lang.String orderNo) {
		this.orderNo = orderNo;
	}
	
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

